var thePrefab : GameObject;

function OnTriggerEnter(d : Collider)
{
if (d.gameObject.tag == "kulka")
{
Destroy(gameObject);
var instance : GameObject =  Instantiate (thePrefab, transform.position, transform.rotation);
}
}
